import type { ISearchConfig } from '@/components/PageSearch/index.vue'

const searchConfig: ISearchConfig = {
  pageName: 'sys:user',
  formItems: [
    {
      type: 'input',
      label: '讲师名称',
      prop: 'keywords',
      attrs: {
        placeholder: '讲师名称',
        clearable: true,
        style: {
          width: '200px',
        },
      },
    },
    {
      type: 'select',
      label: '状态',
      prop: 'status',
      attrs: {
        placeholder: '全部',
        clearable: true,
        style: {
          width: '100px',
        },
      },
      options: [
        { label: '启用', value: 1 },
        { label: '禁用', value: 0 },
      ],
    },
  ],
}

export default searchConfig
